import { request,server,serverUpload } from './request.js'
export  function searchPlugsDataList(data){ 
	return request({
		url:'/api/plugs/searchPlugsDataList',
		method: 'GET',
		data
	})
}
export  function getExtensionByAppId(data){ 
	return request({
		url:'/api/plugs/getExtensionByAppId',
		method: 'GET',
		data
	})
}
export  function getUserTemplateConf(data){ 
	return request({
		url:'/api/platform/getUserTemplateConf',
		method: 'GET',
		data
	})
}
export  function getUserTemplateConfRPC(data){ 
	return request({
		url:'/api/platform/getUserTemplateConfRPC',
		method: 'GET',
		data
	})
}
export  function getApplicationPlugsRecommendedList(data){ 
	return request({
		url:'/api/plugs/getApplicationRecommendedList',
		method: 'GET',
		data
	})
}
export  function getApplicationRecommendedList(data){ 
	return request({
		url:'/api/plugs/getApplicationRecommendedList',
		method: 'GET',
		data
	})
}
export  function searchPlugsNoticeList(data){ 
	return request({
		url:'/api/plugs/searchPlugsNoticeList',
		method: 'GET',
		data
	})
}
export  function searchPlugsNoticeById(data){ 
	return request({
		url:'/api/plugs/searchPlugsNoticeById',
		method: 'GET',
		data
	})
}
export  function searchUserInfoById(data){ 
	return request({
		url:'/api/user/searchUserInfoById',
		method: 'GET',
		data
	})
}
export  function auditList(data){ 
	return request({
		url:'/api/plugs/auditList',
		method: 'GET',
		data
	})
}
export  function updateAudit(data){ 
	return server({
		url:'/api/plugs/updateAudit',
		method: 'POST',
		data
	})
}
export  function insertAudit(data){ 
	return server({
		url:'/api/plugs/insertAudit',
		method: 'POST',
		data
	})
}
export  function insertPlugsData(data){ 
	return server({
		url:'/api/plugs/insertPlugsData',
		method: 'POST',
		data
	})
}
export  function auditDetail(data){ 
	return server({
		url:'/api/plugs/auditDetail',
		method: 'GET',
		data
	})
}
export  function getWxProgramQRCode(data){ 
	return request({
		url:'/api/plugs/getWxProgramQRCode',
		method: 'GET',
		data
	})
}
export  function updateUserInfo(data){ 
	return server({
		url:'/api/user/updateUserInfo',
		method: 'POST',
		data
	})
}
export  function getUserConsumptionRecordList(data){ 
	return server({
		url:'/api/user/getUserConsumptionRecordList',
		method: 'GET',
		data
	})
}
export  function getBusinessInfoById(data){ 
	return request({
		url:'/api/plugs/getBusinessInfoById',
		method: 'GET',
		data
	})
}
export  function getIntegralGoodsList(data){ 
	return request({
		url:'/api/plugs/getIntegralGoodsList',
		method: 'GET',
		data
	})
}
export  function searchPlugsCouponsByUserId(data){ 
	return request({
		url:'/api/plugs/searchPlugsCouponsByUserId',
		method: 'GET',
		data
	})
}
export  function searchPlugsCouponsByBusinessId(data){ 
	return request({
		url:'/api/plugs/searchPlugsCouponsByBusinessId',
		method: 'GET',
		data
	})
}
export  function searchPlugsCouponsById(data){ 
	return request({
		url:'/api/plugs/searchPlugsCouponsById',
		method: 'GET',
		data
	})
}
export  function searchPlugsGoodsList(data){ 
	return request({
		url:'/api/plugs/searchPlugsGoodsList',
		method: 'GET',
		data
	})
}
export  function insertPlugsFootmark(data){ 
	return server({
		url:'/api/plugs/insertPlugsFootmark',
		method: 'POST',
		data
	})
}
export  function searchPlugsFootmarkListUserId(data){ 
	return server({
		url:'/api/plugs/searchPlugsFootmarkListUserId',
		method: 'GET',
		data
	})
}
export  function searchUserOrderListByStatus(data){ 
	return request({
		url:'/api/order/searchUserOrderListByStatus',
		method: 'GET',
		data
	})
}
export  function searchUserLastMonthOrderListByStatus(data){ 
	return request({
		url:'/api/order/searchUserLastMonthOrderListByStatus',
		method: 'GET',
		data
	})
}
export  function getOrderInfoById(data){ 
	return request({
		url:'/api/order/getOrderInfoById',
		method: 'GET',
		data
	})
}
export  function getShippingFeeEstimate(data){ 
	return request({
		url:'/api/platform/getShippingFeeEstimate',
		method: 'POST',
		data
	})
}
export  function verificationOrder(data){ 
	return request({
		url:'/api/order/verificationOrder',
		method: 'POST',
		data
	})
}
export  function createOrder(data){ 
	return server({
		url:'/api/order/createOrder',
		method: 'POST',
		data
	})
}
export  function receiveCoupons(data){ 
	return request({
		url:'/api/plugs/receiveCoupons',
		method: 'POST',
		data
	})
}
export  function balanceOrderPay(data){ 
	return server({
		url:'/api/pay/balanceOrderPay',
		method: 'POST',
		data
	})
}
export  function partnerAppletsWechatOrderPay(data){ 
	return server({
		url:'/api/pay/partnerAppletsWechatOrderPay',
		method: 'POST',
		data
	})
}
export  function getUserPayReacord(data){ 
	return server({
		url:'/api/pay/getUserPayReacord',
		method: 'GET',
		data
	})
}
export  function integralOrderPay(data){ 
	return server({
		url:'/api/pay/integralOrderPay',
		method: 'POST',
		data
	})
}
export  function delOrder(data){ 
	return request({
		url:'/api/order/delOrder',
		method: 'POST',
		data
	})
}
export  function userApplyOrderRefund(data){ 
	return request({
		url:'/api/order/userApplyOrderRefund',
		method: 'POST',
		data
	})
}
export  function getWeChartUserPhone(data){ 
	return request({
		url:'/api/oauth/getWeChartUserPhone',
		method: 'GET',
		data
	})
}
export  function getUserIntegralRecordList(data){ 
	return request({
		url:'/api/plugs/getUserIntegralRecordList',
		method: 'GET',
		data
	})
}
export  function uploadImages(data){ 
	return serverUpload({
		url:'/api/file/uploadImages',
		data
	})
}

export  function delPlugsShopCart(data){ 
	return request({
		url:'/api/plugs/delPlugsShopCart',
		method: 'POST',
		data
	})
}
export  function getBusinessInfo(data){ 
	return request({
		url:'/api/plugs/getBusinessInfo',
		method: 'GET',
		data
	})
}
export  function getStoreLsit(data){ 
	return request({
		url:'/api/plugs/getBusinessInfo',
		method: 'GET',
		data
	})
}
export  function searchAdminUserById(data){ 
	return request({
		url:'/api/admin/searchAdminUserById',
		method: 'GET',
		data
	})
}
export  function searchPlugsFormList(data){ 
	return request({
		url:'/api/plugs/searchPlugsFormList',
		method: 'GET',
		data
	})
}
export  function searchPlugsFormDataList(data){ 
	return request({
		url:'/api/plugs/searchPlugsFormDataList',
		method: 'GET',
		data
	})
}
export  function searchPlugsArticleList(data){ 
	return request({
		url:'/api/plugs/searchPlugsArticleList',
		method: 'GET',
		data
	})
}
export  function searchPlugsArticleById(data){ 
	return request({
		url:'/api/plugs/searchPlugsArticleById',
		method: 'GET',
		data
	})
}
export  function searchPlugsGoodCategoryList(data){ 
	return request({
		url:'/api/plugs/searchPlugsGoodCategoryList',
		method: 'GET',
		data
	})
}
export  function searchPlugsGoodsById(data){ 
	return request({
		url:`/api/plugs/searchPlugsGoodsById?id=${data}`,
		method: 'GET'
	})
}
export  function getGoodesCouponsList(data){ 
	return request({
		url:`/api/plugs/getGoodesCouponsList?goodsId=${data}`,
		method: 'GET'
	})
}
export  function searchPlugsGoodsSpecificationByGoodsId(data){ 
	return request({
		url: '/api/plugs/searchPlugsGoodsSpecificationByGoodsId',
		method: 'GET',
		data
	})
}
export  function searchPlugsGoodCategoryById(data){ 
	return request({
		url:'/api/plugs/searchPlugsGoodCategoryById',
		method: 'GET',
		data
	})
}
export  function searchPlugsGoodsByCategoryId(data){ 
	return request({
		url:'/api/plugs/searchPlugsGoodsByCategoryId',
		method: 'GET',
		data
	})
}
export  function goodSearch(data){ 
	return request({
		url:'/api/plugs/goodSearch',
		method: 'GET',
		data
	})
}
export  function searchPlugsHotGoodsList(data){ 
	return request({
		url:'/api/plugs/searchPlugsHotGoodsList',
		method: 'GET',
		data
	})
}
export  function searchHotGoodsList(data){ 
	return request({
		url:'/api/plugs/searchHotGoodsList',
		method: 'GET',
		data
	})
}
export  function insertPlugsShopCart(data){ 
	return server({
		url:'/api/plugs/insertPlugsShopCart',
		method: 'POST',
		data
	})
}
export  function insertPlugsCollect(data){ 
	return server({
		url:'/api/plugs/insertPlugsCollect',
		method: 'POST',
		data
	})
}
export  function cancelCollectByDataId(data){ 
	return request({
		url:'/api/plugs/cancelCollectByDataId',
		method: 'POST',
		data
	})
}
export  function searchPlugsCollectByUserId(data){ 
	return request({
		url:'/api/plugs/searchPlugsCollectByUserId',
		method: 'GET',
		data
	})
}
export  function getPlugsShopCartByUserId(data){ 
	return request({
		url:'/api/plugs/getPlugsShopCartByUserId',
		method: 'GET',
		data
	})
}
export function submit(data){
	return server({
		url:'/api/plugs/insertPlugsFormData',
		method: 'POSt',
		data
	})
}
export  function userIsLogin(data){ 
	return request({
		url:'/api/oauth/userIsLogin',
		method: 'GET',
		data
	})
}
export  function getWeChartSmallProgramLoginInfo(data){ 
	return request({
		url:'/api/oauth/getWeChartSmallProgramLoginInfo',
		method: 'GET',
		data
	})
}
export  function dcH5WechatLogin(data){ 
	return request({
		url:'/api/user/dcH5WechatLogin',
		method: 'POSt',
		data
	})
}